﻿// MT305




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category3
{
  public class MT305 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagDefinition U0002;
    private static SwiftTagSubItemDefinition U0003;
    private static SwiftTagDefinition U0004;
    private static SwiftTagSubItemDefinition U0005;
    private static SwiftTagDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagSubItemDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagChoiceDefinition U0015;
    private static SwiftTagDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagChoiceDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagChoiceDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagDefinition U0090;
    private static SwiftTagSubItemDefinition U0091;
    private static SwiftTagDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSubItemDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagDefinition U0002U0002;
    private static SwiftTagSubItemDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagChoiceDefinition U0008U0002;
    private static SwiftTagDefinition U000EU0002;
    private static SwiftTagSubItemDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagSubItemDefinition U0014U0002;
    private static SwiftTagSubItemDefinition U0015U0002;
    private static SwiftTagChoiceDefinition U0016U0002;
    private static SwiftTagDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagSubItemDefinition U0019U0002;
    private static SwiftTagDefinition U001AU0002;
    private static SwiftTagSubItemDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagDefinition U001DU0002;
    private static SwiftTagSubItemDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagChoiceDefinition U007FU0002;
    private static SwiftTagDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagSubItemDefinition U0082U0002;
    private static SwiftTagDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagChoiceDefinition U0087U0002;
    private static SwiftTagDefinition U0088U0002;
    private static SwiftTagSubItemDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagSubItemDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagDefinition U008EU0002;
    private static SwiftTagDefinition U008FU0002;
    private static SwiftTagSubItemDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagSubItemDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;

    [Description("Transaction Reference Number")]
    public Tag20 TransactionReferenceNumber_20
    {
      get
      {
        return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0002);
      }
    }

    [Description("Transaction Reference Number")]
    public Tag20 Tag20_TransactionReferenceNumber
    {
      get
      {
        return this.TransactionReferenceNumber_20;
      }
    }

    [Description("Related Reference")]
    public Tag21 RelatedReference_21
    {
      get
      {
        return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0004);
      }
    }

    [Description("Related Reference")]
    public Tag21 Tag21_RelatedReference
    {
      get
      {
        return this.RelatedReference_21;
      }
    }

    [Description("Code/Common Reference")]
    public Tag22 CodeCommonReference_22
    {
      get
      {
        return new Tag22((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0006);
      }
    }

    [Description("Code/Common Reference")]
    public Tag22 Tag22_CodeCommonReference
    {
      get
      {
        return this.CodeCommonReference_22;
      }
    }

    [Description("Further Identification")]
    public Tag23 FurtherIdentification_23
    {
      get
      {
        return new Tag23((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U000E);
      }
    }

    [Description("Further Identification")]
    public Tag23 Tag23_FurtherIdentification
    {
      get
      {
        return this.FurtherIdentification_23;
      }
    }

    [Description("Type of Operation")]
    public MT305.Tag94A TypeOfOperation_94A
    {
      get
      {
        return new MT305.Tag94A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0013);
      }
    }

    [Description("Type of Operation")]
    public MT305.Tag94A Tag94A_TypeOfOperation
    {
      get
      {
        return this.TypeOfOperation_94A;
      }
    }

    [Description("Party A")]
    public Tag82A PartyA_82A
    {
      get
      {
        return new Tag82A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0016);
      }
    }

    [Description("Party A")]
    public Tag82A Tag82A_PartyA
    {
      get
      {
        return this.PartyA_82A;
      }
    }

    [Description("Party A")]
    public Tag82D PartyA_82D
    {
      get
      {
        return new Tag82D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0019);
      }
    }

    [Description("Party A")]
    public Tag82D Tag82D_PartyA
    {
      get
      {
        return this.PartyA_82D;
      }
    }

    [Description("Party A")]
    public MT305.Tag82J PartyA_82J
    {
      get
      {
        return new MT305.Tag82J((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U001C);
      }
    }

    [Description("Party A")]
    public MT305.Tag82J Tag82J_PartyA
    {
      get
      {
        return this.PartyA_82J;
      }
    }

    [Description("Party B")]
    public Tag87A PartyB_87A
    {
      get
      {
        return new Tag87A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U001F);
      }
    }

    [Description("Party B")]
    public Tag87A Tag87A_PartyB
    {
      get
      {
        return this.PartyB_87A;
      }
    }

    [Description("Party B")]
    public Tag87D PartyB_87D
    {
      get
      {
        return new Tag87D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0081);
      }
    }

    [Description("Party B")]
    public Tag87D Tag87D_PartyB
    {
      get
      {
        return this.PartyB_87D;
      }
    }

    [Description("Party B")]
    public MT305.Tag87J PartyB_87J
    {
      get
      {
        return new MT305.Tag87J((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0084);
      }
    }

    [Description("Party B")]
    public MT305.Tag87J Tag87J_PartyB
    {
      get
      {
        return this.PartyB_87J;
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public Tag83A FundOrBeneficiaryCustomer_83A
    {
      get
      {
        return new Tag83A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0088);
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public Tag83A Tag83A_FundOrBeneficiaryCustomer
    {
      get
      {
        return this.FundOrBeneficiaryCustomer_83A;
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public Tag83D FundOrBeneficiaryCustomer_A_83D
    {
      get
      {
        return new Tag83D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U008B);
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public Tag83D Tag83D_FundOrBeneficiaryCustomer_A
    {
      get
      {
        return this.FundOrBeneficiaryCustomer_A_83D;
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public MT305.Tag83J FundOrBeneficiaryCustomer_A_83J
    {
      get
      {
        return new MT305.Tag83J((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U008E);
      }
    }

    [Description("Fund or Beneficiary Customer")]
    public MT305.Tag83J Tag83J_FundOrBeneficiaryCustomer_A
    {
      get
      {
        return this.FundOrBeneficiaryCustomer_A_83J;
      }
    }

    [Description("Date Contract Agreed/Amended")]
    public Tag30 DateContractAgreedOrAmended_30
    {
      get
      {
        return new Tag30((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0090);
      }
    }

    [Description("Date Contract Agreed/Amended")]
    public Tag30 Tag30_DateContractAgreedOrAmended
    {
      get
      {
        return this.DateContractAgreedOrAmended_30;
      }
    }

    [Description("Earliest Exercise Date")]
    public Tag31C EarliestExerciseDate_31C
    {
      get
      {
        return new Tag31C((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0092);
      }
    }

    [Description("Earliest Exercise Date")]
    public Tag31C Tag31C_EarliestExerciseDate
    {
      get
      {
        return this.EarliestExerciseDate_31C;
      }
    }

    [Description("Expiry Details")]
    public Tag31G ExpiryDetails_31G
    {
      get
      {
        return new Tag31G((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0094);
      }
    }

    [Description("Expiry Details")]
    public Tag31G Tag31G_ExpiryDetails
    {
      get
      {
        return this.ExpiryDetails_31G;
      }
    }

    [Description("Final Settlement Date")]
    public TagFinalSettlementDate31E FinalSettlementDate31E
    {
      get
      {
        return new TagFinalSettlementDate31E((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0098);
      }
    }

    [Description("Settlement Type")]
    public MT305.Tag26F SettlementType_26F
    {
      get
      {
        return new MT305.Tag26F((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U009A);
      }
    }

    [Description("Settlement Type")]
    public MT305.Tag26F Tag26F_SettlementType
    {
      get
      {
        return this.SettlementType_26F;
      }
    }

    [Description("Underlying Currency and Amount")]
    public Tag32B UnderlyingCurrencyAndAmount_32B
    {
      get
      {
        return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U009C);
      }
    }

    [Description("Underlying Currency and Amount")]
    public Tag32B Tag32B_UnderlyingCurrencyAndAmount
    {
      get
      {
        return this.UnderlyingCurrencyAndAmount_32B;
      }
    }

    [Description("Strike Price")]
    public Tag36 StrikePrice_36
    {
      get
      {
        return new Tag36((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U009F);
      }
    }

    [Description("Strike Price")]
    public Tag36 Tag36_StrikePrice
    {
      get
      {
        return this.StrikePrice_36;
      }
    }

    [Description("Counter Currency and Amount")]
    public Tag33B CounterCurrencyAndAmount_33B
    {
      get
      {
        return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0002U0002);
      }
    }

    [Description("Counter Currency and Amount")]
    public Tag33B Tag33B_CounterCurrencyAndAmount
    {
      get
      {
        return this.CounterCurrencyAndAmount_33B;
      }
    }

    [Description("Premium Price")]
    public Tag37K PremiumPrice_37K
    {
      get
      {
        return new Tag37K((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0005U0002);
      }
    }

    [Description("Premium Price")]
    public Tag37K Tag37K_PremiumPrice
    {
      get
      {
        return this.PremiumPrice_37K;
      }
    }

    [Description("Premium Payment")]
    public Tag34P PremiumPayment_34P
    {
      get
      {
        return new Tag34P((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U000EU0002);
      }
    }

    [Description("Premium Payment")]
    public Tag34P Tag34P_PremiumPayment
    {
      get
      {
        return this.PremiumPayment_34P;
      }
    }

    [Description("Premium Payment")]
    public Tag34R PremiumPayment_34R
    {
      get
      {
        return new Tag34R((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0012U0002);
      }
    }

    [Description("Premium Payment")]
    public Tag34R Tag34R_PremiumPayment
    {
      get
      {
        return this.PremiumPayment_34R;
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53A SendersCorrespondent_53A
    {
      get
      {
        return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0017U0002);
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53A Tag53A_SendersCorrespondent
    {
      get
      {
        return this.SendersCorrespondent_53A;
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53B SendersCorrespondent_53B
    {
      get
      {
        return new Tag53B((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U001AU0002);
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53B Tag53B_SendersCorrespondent
    {
      get
      {
        return this.SendersCorrespondent_53B;
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53D SendersCorrespondent_53D
    {
      get
      {
        return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U001DU0002);
      }
    }

    [Description("Sender’s Correspondent")]
    public Tag53D Tag53D_SendersCorrespondent
    {
      get
      {
        return this.SendersCorrespondent_53D;
      }
    }

    [Description("Intermediary")]
    public Tag56A Intermediary_56A
    {
      get
      {
        return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0080U0002);
      }
    }

    [Description("Intermediary")]
    public Tag56A Tag56A_Intermediary
    {
      get
      {
        return this.Intermediary_56A;
      }
    }

    [Description("Intermediary")]
    public Tag56D Intermediary_56D
    {
      get
      {
        return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0083U0002);
      }
    }

    [Description("Intermediary")]
    public Tag56D Tag56D_Intermediary
    {
      get
      {
        return this.Intermediary_56D;
      }
    }

    [Description("Account With Institution")]
    public Tag57A AccountWithInstitution_57A
    {
      get
      {
        return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U0088U0002);
      }
    }

    [Description("Account With Institution")]
    public Tag57A Tag57A_AccountWithInstitution
    {
      get
      {
        return this.AccountWithInstitution_57A;
      }
    }

    [Description("Account With Institution")]
    public Tag57D AccountWithInstitution_57D
    {
      get
      {
        return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U008BU0002);
      }
    }

    [Description("Account With Institution")]
    public Tag57D Tag57D_AccountWithInstitution
    {
      get
      {
        return this.AccountWithInstitution_57D;
      }
    }

    [Description("Terms And Conditions")]
    public Tag77D TermsAndConditions_77D
    {
      get
      {
        return new Tag77D((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U008EU0002);
      }
    }

    [Description("Terms And Conditions")]
    public Tag77D Tag77D_TermsAndConditions
    {
      get
      {
        return this.TermsAndConditions_77D;
      }
    }

    [Description("Sender to Receiver Information")]
    public Tag72 SenderToReceiverInformation_72
    {
      get
      {
        return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT305.U008FU0002);
      }
    }

    [Description("Sender to Receiver Information")]
    public Tag72 Tag72_SenderToReceiverInformation
    {
      get
      {
        return this.SenderToReceiverInformation_72;
      }
    }

    public MT305()
      : base(true)
    {
    }

    public MT305(SwiftMessage message)
      : base(message)
    {
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT305.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT305.MessageDefinition = new SwiftMessageDefinition("MT305", "Foreign Currency Option Confirmation");
      MT305.U0002 = new SwiftTagDefinition("TransactionReferenceNumber_20", "Transaction Reference Number");
      MT305.U0002.TagName = ":20:";
      MT305.U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT305.U0002.Elements.Add((SwiftDefinitionElement) MT305.U0003);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0002);
      MT305.U0004 = new SwiftTagDefinition("RelatedReference_21", "Related Reference");
      MT305.U0004.TagName = ":21:";
      MT305.U0005 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT305.U0004.Elements.Add((SwiftDefinitionElement) MT305.U0005);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0004);
      MT305.U0006 = new SwiftTagDefinition("CodeCommonReference_22", "Code/Common Reference");
      MT305.U0006.TagName = ":22:";
      MT305.U0007 = new SwiftTagSubItemDefinition("Function", "Function");
      MT305.U0006.Elements.Add((SwiftDefinitionElement) MT305.U0007);
      MT305.U0008 = new SwiftTagSubItemDefinition("CommonReference", "Common Reference");
      MT305.U0006.Elements.Add((SwiftDefinitionElement) MT305.U0008);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0006);
      MT305.U000E = new SwiftTagDefinition("FurtherIdentification_23", "Further Identification");
      MT305.U000E.TagName = ":23:";
      MT305.U000F = new SwiftTagSubItemDefinition("Code1", "Code 1");
      MT305.U000E.Elements.Add((SwiftDefinitionElement) MT305.U000F);
      MT305.U0010 = new SwiftTagSubItemDefinition("Code2", "Code 2");
      MT305.U000E.Elements.Add((SwiftDefinitionElement) MT305.U0010);
      MT305.U0011 = new SwiftTagSubItemDefinition("Code3", "Code 3");
      MT305.U000E.Elements.Add((SwiftDefinitionElement) MT305.U0011);
      MT305.U0012 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U000E.Elements.Add((SwiftDefinitionElement) MT305.U0012);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U000E);
      MT305.U0013 = new SwiftTagDefinition("TypeOfOperation_94A", "Type of Operation");
      MT305.U0013.TagName = ":94A:";
      MT305.U0013.Mandatory = false;
      MT305.U0014 = new SwiftTagSubItemDefinition("Type", "Type");
      MT305.U0013.Elements.Add((SwiftDefinitionElement) MT305.U0014);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0013);
      MT305.U0015 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U0015.Multiple = true;
      MT305.U0016 = new SwiftTagDefinition("PartyA_82A", "Party A");
      MT305.U0016.TagName = ":82A:";
      MT305.U0017 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0017.Mandatory = false;
      MT305.U0016.Elements.Add((SwiftDefinitionElement) MT305.U0017);
      MT305.U0018 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U0016.Elements.Add((SwiftDefinitionElement) MT305.U0018);
      MT305.U0015.Elements.Add((SwiftDefinitionElement) MT305.U0016);
      MT305.U0019 = new SwiftTagDefinition("PartyA_82D", "Party A");
      MT305.U0019.TagName = ":82D:";
      MT305.U001A = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U001A.Mandatory = false;
      MT305.U0019.Elements.Add((SwiftDefinitionElement) MT305.U001A);
      MT305.U001B = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT305.U0019.Elements.Add((SwiftDefinitionElement) MT305.U001B);
      MT305.U0015.Elements.Add((SwiftDefinitionElement) MT305.U0019);
      MT305.U001C = new SwiftTagDefinition("PartyA_82J", "Party A");
      MT305.U001C.TagName = ":82J:";
      MT305.U001D = new SwiftTagSubItemDefinition("PartyIdentification1", "Party Identification");
      MT305.U001C.Elements.Add((SwiftDefinitionElement) MT305.U001D);
      MT305.U0015.Elements.Add((SwiftDefinitionElement) MT305.U001C);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0015);
      MT305.U001E = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U001E.Multiple = true;
      MT305.U001F = new SwiftTagDefinition("PartyB_87A", "Party B");
      MT305.U001F.TagName = ":87A:";
      MT305.U007F = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U007F.Mandatory = false;
      MT305.U001F.Elements.Add((SwiftDefinitionElement) MT305.U007F);
      MT305.U0080 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U001F.Elements.Add((SwiftDefinitionElement) MT305.U0080);
      MT305.U001E.Elements.Add((SwiftDefinitionElement) MT305.U001F);
      MT305.U0081 = new SwiftTagDefinition("PartyB_87D", "Party B");
      MT305.U0081.TagName = ":87D:";
      MT305.U0082 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0082.Mandatory = false;
      MT305.U0081.Elements.Add((SwiftDefinitionElement) MT305.U0082);
      MT305.U0083 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT305.U0081.Elements.Add((SwiftDefinitionElement) MT305.U0083);
      MT305.U001E.Elements.Add((SwiftDefinitionElement) MT305.U0081);
      MT305.U0084 = new SwiftTagDefinition("PartyB_87J", "Party B");
      MT305.U0084.TagName = ":87J:";
      MT305.U0086 = new SwiftTagSubItemDefinition("PartyIdentification1", "Party Identification");
      MT305.U0084.Elements.Add((SwiftDefinitionElement) MT305.U0086);
      MT305.U001E.Elements.Add((SwiftDefinitionElement) MT305.U0084);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U001E);
      MT305.U0087 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U0087.Mandatory = false;
      MT305.U0087.Multiple = true;
      MT305.U0088 = new SwiftTagDefinition("FundOrBeneficiaryCustomer_83A", "Fund or Beneficiary Customer");
      MT305.U0088.TagName = ":83A:";
      MT305.U0089 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0089.Mandatory = false;
      MT305.U0088.Elements.Add((SwiftDefinitionElement) MT305.U0089);
      MT305.U008A = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U0088.Elements.Add((SwiftDefinitionElement) MT305.U008A);
      MT305.U0087.Elements.Add((SwiftDefinitionElement) MT305.U0088);
      MT305.U008B = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83D", "Fund or Beneficiary Customer");
      MT305.U008B.TagName = ":83D:";
      MT305.U008C = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U008C.Mandatory = false;
      MT305.U008B.Elements.Add((SwiftDefinitionElement) MT305.U008C);
      MT305.U008D = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT305.U008B.Elements.Add((SwiftDefinitionElement) MT305.U008D);
      MT305.U0087.Elements.Add((SwiftDefinitionElement) MT305.U008B);
      MT305.U008E = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83J", "Fund or Beneficiary Customer");
      MT305.U008E.TagName = ":83J:";
      MT305.U008F = new SwiftTagSubItemDefinition("PartyIdentification4", "Party Identification");
      MT305.U008E.Elements.Add((SwiftDefinitionElement) MT305.U008F);
      MT305.U0087.Elements.Add((SwiftDefinitionElement) MT305.U008E);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0087);
      MT305.U0090 = new SwiftTagDefinition("DateContractAgreedOrAmended_30", "Date Contract Agreed/Amended");
      MT305.U0090.TagName = ":30:";
      MT305.U0091 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U0090.Elements.Add((SwiftDefinitionElement) MT305.U0091);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0090);
      MT305.U0092 = new SwiftTagDefinition("EarliestExerciseDate_31C", "Earliest Exercise Date");
      MT305.U0092.TagName = ":31C:";
      MT305.U0092.Mandatory = false;
      MT305.U0093 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U0092.Elements.Add((SwiftDefinitionElement) MT305.U0093);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0092);
      MT305.U0094 = new SwiftTagDefinition("ExpiryDetails_31G", "Expiry Details");
      MT305.U0094.TagName = ":31G:";
      MT305.U0095 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U0094.Elements.Add((SwiftDefinitionElement) MT305.U0095);
      MT305.U0096 = new SwiftTagSubItemDefinition("Time", "Time");
      MT305.U0094.Elements.Add((SwiftDefinitionElement) MT305.U0096);
      MT305.U0097 = new SwiftTagSubItemDefinition("Location", "Location");
      MT305.U0094.Elements.Add((SwiftDefinitionElement) MT305.U0097);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0094);
      MT305.U0098 = new SwiftTagDefinition("FinalSettlementDate31E", "Final Settlement Date");
      MT305.U0098.TagName = ":31E:";
      MT305.U0098.Mandatory = false;
      MT305.U0099 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U0098.Elements.Add((SwiftDefinitionElement) MT305.U0099);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0098);
      MT305.U009A = new SwiftTagDefinition("SettlementType_26F", "Settlement Type");
      MT305.U009A.TagName = ":26F:";
      MT305.U009B = new SwiftTagSubItemDefinition("Type", "Type");
      MT305.U009A.Elements.Add((SwiftDefinitionElement) MT305.U009B);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U009A);
      MT305.U009C = new SwiftTagDefinition("UnderlyingCurrencyAndAmount_32B", "Underlying Currency and Amount");
      MT305.U009C.TagName = ":32B:";
      MT305.U009D = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U009C.Elements.Add((SwiftDefinitionElement) MT305.U009D);
      MT305.U009E = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT305.U009C.Elements.Add((SwiftDefinitionElement) MT305.U009E);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U009C);
      MT305.U009F = new SwiftTagDefinition("StrikePrice_36", "Strike Price");
      MT305.U009F.TagName = ":36:";
      MT305.U0001U0002 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT305.U009F.Elements.Add((SwiftDefinitionElement) MT305.U0001U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U009F);
      MT305.U0002U0002 = new SwiftTagDefinition("CounterCurrencyAndAmount_33B", "Counter Currency and Amount");
      MT305.U0002U0002.TagName = ":33B:";
      MT305.U0003U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U0002U0002.Elements.Add((SwiftDefinitionElement) MT305.U0003U0002);
      MT305.U0004U0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT305.U0002U0002.Elements.Add((SwiftDefinitionElement) MT305.U0004U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0002U0002);
      MT305.U0005U0002 = new SwiftTagDefinition("PremiumPrice_37K", "Premium Price");
      MT305.U0005U0002.TagName = ":37K:";
      MT305.U0006U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U0005U0002.Elements.Add((SwiftDefinitionElement) MT305.U0006U0002);
      MT305.U0007U0002 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT305.U0005U0002.Elements.Add((SwiftDefinitionElement) MT305.U0007U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0005U0002);
      MT305.U0008U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U0008U0002.Multiple = true;
      MT305.U000EU0002 = new SwiftTagDefinition("PremiumPayment_34P", "Premium Payment");
      MT305.U000EU0002.TagName = ":34P:";
      MT305.U000FU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U000EU0002.Elements.Add((SwiftDefinitionElement) MT305.U000FU0002);
      MT305.U0010U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U000EU0002.Elements.Add((SwiftDefinitionElement) MT305.U0010U0002);
      MT305.U0011U0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT305.U000EU0002.Elements.Add((SwiftDefinitionElement) MT305.U0011U0002);
      MT305.U0008U0002.Elements.Add((SwiftDefinitionElement) MT305.U000EU0002);
      MT305.U0012U0002 = new SwiftTagDefinition("PremiumPayment_34R", "Premium Payment");
      MT305.U0012U0002.TagName = ":34R:";
      MT305.U0013U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT305.U0012U0002.Elements.Add((SwiftDefinitionElement) MT305.U0013U0002);
      MT305.U0014U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT305.U0012U0002.Elements.Add((SwiftDefinitionElement) MT305.U0014U0002);
      MT305.U0015U0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT305.U0012U0002.Elements.Add((SwiftDefinitionElement) MT305.U0015U0002);
      MT305.U0008U0002.Elements.Add((SwiftDefinitionElement) MT305.U0012U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0008U0002);
      MT305.U0016U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U0016U0002.Mandatory = false;
      MT305.U0016U0002.Multiple = true;
      MT305.U0017U0002 = new SwiftTagDefinition("SendersCorrespondent_53A", "Sender’s Correspondent");
      MT305.U0017U0002.TagName = ":53A:";
      MT305.U0018U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0018U0002.Mandatory = false;
      MT305.U0017U0002.Elements.Add((SwiftDefinitionElement) MT305.U0018U0002);
      MT305.U0019U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U0017U0002.Elements.Add((SwiftDefinitionElement) MT305.U0019U0002);
      MT305.U0016U0002.Elements.Add((SwiftDefinitionElement) MT305.U0017U0002);
      MT305.U001AU0002 = new SwiftTagDefinition("SendersCorrespondent_53B", "Sender’s Correspondent");
      MT305.U001AU0002.TagName = ":53B:";
      MT305.U001BU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U001BU0002.Mandatory = false;
      MT305.U001AU0002.Elements.Add((SwiftDefinitionElement) MT305.U001BU0002);
      MT305.U001CU0002 = new SwiftTagSubItemDefinition("Location", "Location");
      MT305.U001CU0002.Mandatory = false;
      MT305.U001AU0002.Elements.Add((SwiftDefinitionElement) MT305.U001CU0002);
      MT305.U0016U0002.Elements.Add((SwiftDefinitionElement) MT305.U001AU0002);
      MT305.U001DU0002 = new SwiftTagDefinition("SendersCorrespondent_53D", "Sender’s Correspondent");
      MT305.U001DU0002.TagName = ":53D:";
      MT305.U001EU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U001EU0002.Mandatory = false;
      MT305.U001DU0002.Elements.Add((SwiftDefinitionElement) MT305.U001EU0002);
      MT305.U001FU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT305.U001DU0002.Elements.Add((SwiftDefinitionElement) MT305.U001FU0002);
      MT305.U0016U0002.Elements.Add((SwiftDefinitionElement) MT305.U001DU0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0016U0002);
      MT305.U007FU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U007FU0002.Mandatory = false;
      MT305.U007FU0002.Multiple = true;
      MT305.U0080U0002 = new SwiftTagDefinition("Intermediary_56A", "Intermediary");
      MT305.U0080U0002.TagName = ":56A:";
      MT305.U0081U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0081U0002.Mandatory = false;
      MT305.U0080U0002.Elements.Add((SwiftDefinitionElement) MT305.U0081U0002);
      MT305.U0082U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U0080U0002.Elements.Add((SwiftDefinitionElement) MT305.U0082U0002);
      MT305.U007FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0080U0002);
      MT305.U0083U0002 = new SwiftTagDefinition("Intermediary_56D", "Intermediary");
      MT305.U0083U0002.TagName = ":56D:";
      MT305.U0084U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0084U0002.Mandatory = false;
      MT305.U0083U0002.Elements.Add((SwiftDefinitionElement) MT305.U0084U0002);
      MT305.U0086U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT305.U0083U0002.Elements.Add((SwiftDefinitionElement) MT305.U0086U0002);
      MT305.U007FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0083U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U007FU0002);
      MT305.U0087U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT305.U0087U0002.Multiple = true;
      MT305.U0088U0002 = new SwiftTagDefinition("AccountWithInstitution_57A", "Account With Institution");
      MT305.U0088U0002.TagName = ":57A:";
      MT305.U0089U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U0089U0002.Mandatory = false;
      MT305.U0088U0002.Elements.Add((SwiftDefinitionElement) MT305.U0089U0002);
      MT305.U008AU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT305.U0088U0002.Elements.Add((SwiftDefinitionElement) MT305.U008AU0002);
      MT305.U0087U0002.Elements.Add((SwiftDefinitionElement) MT305.U0088U0002);
      MT305.U008BU0002 = new SwiftTagDefinition("AccountWithInstitution_57D", "Account With Institution");
      MT305.U008BU0002.TagName = ":57D:";
      MT305.U008CU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT305.U008CU0002.Mandatory = false;
      MT305.U008BU0002.Elements.Add((SwiftDefinitionElement) MT305.U008CU0002);
      MT305.U008DU0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name & Address");
      MT305.U008BU0002.Elements.Add((SwiftDefinitionElement) MT305.U008DU0002);
      MT305.U0087U0002.Elements.Add((SwiftDefinitionElement) MT305.U008BU0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U0087U0002);
      MT305.U008EU0002 = new SwiftTagDefinition("TermsAndConditions_77D", "Terms And Conditions");
      MT305.U008EU0002.TagName = ":77D:";
      MT305.U008EU0002.Mandatory = false;
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U008EU0002);
      MT305.U008FU0002 = new SwiftTagDefinition("SenderToReceiverInformation_72", "Sender to Receiver Information");
      MT305.U008FU0002.TagName = ":72:";
      MT305.U008FU0002.Mandatory = false;
      MT305.U0090U0002 = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0090U0002);
      MT305.U0091U0002 = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT305.U0091U0002.Mandatory = false;
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0091U0002);
      MT305.U0092U0002 = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT305.U0092U0002.Mandatory = false;
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0092U0002);
      MT305.U0093U0002 = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT305.U0093U0002.Mandatory = false;
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0093U0002);
      MT305.U0094U0002 = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT305.U0094U0002.Mandatory = false;
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0094U0002);
      MT305.U0095U0002 = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT305.U0095U0002.Mandatory = false;
      MT305.U008FU0002.Elements.Add((SwiftDefinitionElement) MT305.U0095U0002);
      MT305.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT305.U008FU0002);
    }

    public class Tag94A : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("94A", value);
        }
      }

      internal Tag94A(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }

    public class Tag82J : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("82J", value);
        }
      }

      internal Tag82J(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }

    public class Tag87J : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("87J", value);
        }
      }

      internal Tag87J(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }

    public class Tag83J : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("83J", value);
        }
      }

      internal Tag83J(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }

    public class Tag26F : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("26F", value);
        }
      }

      internal Tag26F(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }
  }
}
